package com.ruoyi.quartz.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.quartz.mapper.StockStageIncomeThreeMapper;
import com.ruoyi.quartz.domain.StockStageIncomeThree;
import com.ruoyi.quartz.service.IStockStageIncomeThreeService;

/**
 * 三日净流入Service业务层处理
 * 
 * @author czz
 * @date 2024-04-26
 */
@Service
public class StockStageIncomeThreeServiceImpl implements IStockStageIncomeThreeService 
{
    @Autowired
    private StockStageIncomeThreeMapper stockStageIncomeThreeMapper;

    /**
     * 查询三日净流入
     * 
     * @param id 三日净流入主键
     * @return 三日净流入
     */
    @Override
    public StockStageIncomeThree selectStockStageIncomeThreeById(Long id)
    {
        return stockStageIncomeThreeMapper.selectStockStageIncomeThreeById(id);
    }

    /**
     * 查询三日净流入列表
     * 
     * @param stockStageIncomeThree 三日净流入
     * @return 三日净流入
     */
    @Override
    public List<StockStageIncomeThree> selectStockStageIncomeThreeList(StockStageIncomeThree stockStageIncomeThree)
    {
        return stockStageIncomeThreeMapper.selectStockStageIncomeThreeList(stockStageIncomeThree);
    }

    /**
     * 新增三日净流入
     * 
     * @param stockStageIncomeThree 三日净流入
     * @return 结果
     */
    @Override
    public int insertStockStageIncomeThree(StockStageIncomeThree stockStageIncomeThree)
    {
        return stockStageIncomeThreeMapper.insertStockStageIncomeThree(stockStageIncomeThree);
    }

    /**
     * 修改三日净流入
     * 
     * @param stockStageIncomeThree 三日净流入
     * @return 结果
     */
    @Override
    public int updateStockStageIncomeThree(StockStageIncomeThree stockStageIncomeThree)
    {
        return stockStageIncomeThreeMapper.updateStockStageIncomeThree(stockStageIncomeThree);
    }

    /**
     * 批量删除三日净流入
     * 
     * @param ids 需要删除的三日净流入主键
     * @return 结果
     */
    @Override
    public int deleteStockStageIncomeThreeByIds(Long[] ids)
    {
        return stockStageIncomeThreeMapper.deleteStockStageIncomeThreeByIds(ids);
    }

    /**
     * 删除三日净流入信息
     * 
     * @param id 三日净流入主键
     * @return 结果
     */
    @Override
    public int deleteStockStageIncomeThreeById(Long id)
    {
        return stockStageIncomeThreeMapper.deleteStockStageIncomeThreeById(id);
    }
}
